#pragma once 
#include <iostream>
#include <string>
#include <unistd.h>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
using namespace std;

#define Body '='
#define Head '>'
#define Max 103
#define FileSize 1024*1024*1024

typedef void (*callback_t)(double);

void process1();
void download(callback_t);
void process2(double rate);
